package com.ln.asset.core.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ln.asset.core.mapper.OmMapper;
import com.ln.asset.core.pojo.Om;
import com.ln.asset.core.service.OmService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
 * @ClassName OmServiceImpl
 * @Author LiHaoHao
 * @Date 2022/4/28 16:19
 * Version 1.0
 **/
@Service
public class OmServiceImpl extends ServiceImpl<OmMapper, Om> implements OmService {

    @Resource
    private OmMapper omMapper;

    @Override
    public List<Om> listOm() {
        return omMapper.listOm();
    }

    @Override
    public List<Om> ShowById(String susubid, String adepartid, Integer sustart, Integer supustart, Integer subank, Date onesucreatetime, Date twosucreatetime) {
         List<Om> queryById=omMapper.ShowById(susubid,adepartid,sustart,supustart,subank,onesucreatetime,twosucreatetime);
        return queryById;
    }



}
